package com.xqboss.apps.enums.order;

import com.xqboss.common.enums.BaseEnum;

/**
 * @author Trent
 * @date 2023/8/21
 */
public enum RefundStatusEnum implements BaseEnum<Integer> {
    AUDIT(1, "待审核"),
    REFUND(2, "已退款"),
    CANCEL(-1, "撤销"),
    ABORT(-2, "已驳回"),
    ;

    private final Integer value;
    private final String msg;

    RefundStatusEnum(Integer value, String msg){
        this.value = value;
        this.msg = msg;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
